package com.myw.mail.domain;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品对象 t_product
 * 
 * @author myw
 * @date 2025-07-10
 */
@Data
@TableName("t_product")
public class Product extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 商品详情ID */
    private Long productDetailId;

    /** 分类ID */
    private Long categoryId;

    /** 库存ID */
    private Long productStockId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String productName;

    //商品成本
    private BigDecimal productCost;

    /** 封面图 */
    @Excel(name = "封面图")
    private String productImage;

    /** 售价 */
    @Excel(name = "售价")
    private BigDecimal productPrice;

    /** 销量 */
    @Excel(name = "销量")
    private Long productSales;

    /** 状态 */
    @Excel(name = "状态")
    private String productStatus;


}
